package com.example.leetcode.string;

import com.example.leetcode.string.common.StringUtils;

class Solution1768 {
    public String mergeAlternately(String word1, String word2) {
        return StringUtils.mergeTwoStringsAlternately(word1, word2);
    }
}

public class leetcode1768 {

    public static void main(String[] args) {

        String word1 = "abc";
        String word2 = "pqrdef";

//        String word1 = null;
//        String word2 = "abc";
//
//        String word1 ="";
//        String word2 ="abc";
//
//        String word1 ="   ";
//        String word2 ="abc";

        Solution1768 solution1768 = new Solution1768();

        String result = solution1768.mergeAlternately(word1, word2);

        System.out.println(result);

//        System.out.println("StringUtils.isBlank 测试");
//
//        System.out.println(StringUtils.isBlank(null));
//        System.out.println(StringUtils.isBlank(""));
//        System.out.println(StringUtils.isBlank("   "));

    }
}
